from app.mysqlconfig.config import session
from app.mysqlmodel.mysqlmodel import ad_click
def queryid(id):
    data=session.query(ad_click).filter_by(id=id).all()
    session.commit()
    session.close()
    return data
